package com.cskaoyan.market.service;

import com.cskaoyan.market.db.domain.MarketCoupon;
import com.cskaoyan.market.db.domain.MarketCouponUser;

import java.util.List;

public interface MarketCouponService {
    List<MarketCouponUser> listUser(String page, String limit, String couponId, String userId, String status, String sort, String order);

    List<MarketCoupon> list(String page, String limit, String name, String type, String status, String sort, String order);

    MarketCoupon readCoupon(String id);

    MarketCoupon updateCoupon(MarketCoupon marketCoupon);

    void deleteCoupon(MarketCoupon marketCoupon);

    void create(MarketCoupon marketCoupon);
}
